package org.hpm.modules.message.service.impl;

import org.hpm.common.system.base.service.impl.HpmBaseServiceImpl;
import org.hpm.modules.message.entity.SysMessageTemplate;
import org.hpm.modules.message.mapper.SysMessageTemplateMapper;
import org.hpm.modules.message.service.ISysMessageTemplateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description: 消息模板
 * @author: jacklin
 * @date:   2019-04-09
 * @version:  V1.0
 */
@Service()
public class SysMessageTemplateServiceImpl extends HpmBaseServiceImpl<SysMessageTemplateMapper, SysMessageTemplate> implements ISysMessageTemplateService {

    @Resource
    private SysMessageTemplateMapper sysMessageTemplateMapper;


    @Override
    public List<SysMessageTemplate> selectByCode(String code) {
        return sysMessageTemplateMapper.selectByCode(code);
    }
}
